/*
 * @Author: moqian 2898089131@qq.com
 * @Date: 2022-05-05 21:40:38
 * @LastEditors: moqian 2898089131@qq.com
 * @LastEditTime: 2022-05-09 04:25:08
 * @FilePath: /mqtt_ds18b20/inc/getime.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/********************************************************************************
 *      Copyright:  (C) 2022 Zhang Changxing<ZhangChangxingVIP@163.com>
 *                  All rights reserved.
 *
 *       Filename:  getime.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/13/2022)
 *         Author:  Zhang Changxing <ZhangChangxingVIP@163.com>
 *      ChangeLog:  1, Release initial version on "04/13/2022 01:24:02 AM"
 *                 
 ********************************************************************************/

#ifndef  _GETIME_H_
#define  _GETIME_H_


#include <time.h>
#include <sys/time.h>
#include "main.h"

/***************************************************************
 *   description:   To get the time
 *          args:   $datime:    The time used to store the fetch
 *  return value:   Get the latest time
 ***************************************************************/
double getime(char *datime);

#endif   /* ----- #ifndef _GETIME_H_  ----- */

